/**
 *====================================================
 * 文件名称: ContainerInventoryEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年9月23日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.AbnormalResultEnum;
import com.yuexunit.finance.project.entity.lexicon.AbnormalStateEnum;
import com.yuexunit.finance.project.entity.lexicon.AbnormalTypeEnum;
import com.yuexunit.finance.project.entity.lexicon.BadassetsStateEnum;
import com.yuexunit.finance.project.entity.lexicon.BulkstockSourceEnum;
import com.yuexunit.finance.project.entity.lexicon.PickupModelEnum;
import com.yuexunit.finance.project.entity.lexicon.SupervisionStateEnum;

/**
 * @ClassName: ContainerInventoryEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年9月23日 下午5:16:31
 */
@Entity
@Table(name = "FIN_CONTAINER_INVENTORY")
public class ContainerInventoryEntity implements Cloneable {

	/** 货箱清单ID */
	@Id
	@GeneratedValue
	@Column(name = "INVENTORY_ID")
	private Long inventoryId;

	/** 箱信息来源 0:未知/1:融资/2:补货/3:换货提货/4:再次理货 */
	@Column(name = "CONTAINER_SOURCE")
	private BulkstockSourceEnum containerSource;

	/** 估值调整ID */
	@Column(name = "REPLENISH_CREDIT_ID")
	private Long replenishCreditId;

	/** 换货换箱提货ID */
	@Column(name = "EXCHANGE_PICKUP_ID")
	private Long exchangePickupId;

	/** 融资企业ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;

	/** 融资企业名称 */
	@Column(name = "ENTERPRISE_NAME")
	private String enterpriseName;

	/** 融资信息ID */
	@Column(name = "FINANCE_ID")
	private Long financeId;

	/** 融资信息编号 */
	@Column(name = "FINANCE_NUMBER")
	private String financeNumber;

	/** 收货通知ID */
	@Column(name = "RECIEVE_NOTICE_ID")
	private Long recieveNoticeId;

	/** 理货单ID */
	@Column(name = "TALLYING_ID")
	private Long tallyingId;

	/** 理货物流公司ID */
	@Column(name = "TALLYING_COMPANY_ID")
	private Long tallyingCompanyId;

	/** 监管确认书ID */
	@Column(name = "CONFIRMATION_ID")
	private Long confirmationId;

	/** 委托运输通知ID */
	@Column(name = "TRANSPORT_NOTICE_ID")
	private Long transportNoticeId;

	/** 运输物流公司ID */
	@Column(name = "TRANSPORT_COMPANY_ID")
	private Long transportCompanyId;

	/** 配送单ID */
	@Column(name = "DELIVERY_ID")
	private Long deliveryId;

	/** 提货申请ID */
	@Column(name = "PICKUP_ID")
	private Long pickupId;

	/** 放货通知ID */
	@Column(name = "DELIVERY_NOTICE_ID")
	private Long deliveryNoticeId;

	/** 放货物流公司ID */
	@Column(name = "DELIVERY_COMPANY_ID")
	private Long deliveryCompanyId;

	/** 提货类型 0:未知/1:用户指定/2:放货指定 */
	@Column(name = "PICKUP_MODEL")
	private PickupModelEnum pickupModel;

	/** 放款通知单ID */
	@Column(name = "LOAN_NOTICE_ID")
	private Long loanNoticeId;

	/** 物流运单号 */
	@Column(name = "WAYBILL_NUMBER")
	private String waybillNumber;

	/** 货物箱号 */
	@Column(name = "CASE_NUMBER")
	private String caseNumber;

	/** 箱型尺寸 */
	@Column(name = "CASE_SIZE")
	private String caseSize;

	/** 箱型 */
	@Column(name = "MODEL")
	private String model;

	/** 尺寸 */
	@Column(name = "DIMENSION")
	private String dimension;

	/** 铅封号 */
	@Column(name = "FACING_SLIP")
	private String facingSlip;

	/** 铅封号2 */
	@Column(name = "FACING_SLIP_NEXT")
	private String facingSlipNext;

	/** 异常标注 0:异常/1:正常 */
	@Column(name = "ABNORMAL")
	private Boolean abnormal;

	/** 异常类型 0:未知/1:理货异常/2:签收异常/3:扣货异常 */
	@Column(name = "ABNORMAL_TYPE")
	private AbnormalTypeEnum abnormalType;

	/** 异常类别 0:未知/1:货损/2:丢失 */
	@Column(name = "ABNORMAL_STATE")
	private AbnormalStateEnum abnormalState;

	/** 最新异常结果 0:未知/1:退货/2:换箱/3:调额度/4:已正常 */
	@Column(name = "LATEST_ABNORMAL_RESULT")
	private AbnormalResultEnum latestAbnormalResult;

	/** 理货状态 0:待理货/1:已理货 */
	@Column(name = "TALLYING_STATE")
	private Boolean tallyingState;

	/** 理货时间 */
	@Column(name = "TALLY_DT")
	private Date tallyDateTime;

	/** 到港状态 0:未到港/1:已到港 */
	@Column(name = "HARBOR_STATE")
	private Boolean harborState;

	/** 到港时间 */
	@Column(name = "HARBOR_DT")
	private Date harborDateTime;

	/** 港口 */
	@Column(name = "HARBOR")
	private String harbor;

	/** 船名 */
	@Column(name = "SHIPS_NAME")
	private String shipsName;

	/** 船次 */
	@Column(name = "VOYAGE_NUMBER")
	private String voyageNumber;

	/** 水路运单 */
	@Column(name = "FILE_UUID")
	private String fileUuid;

	/** 是否签收 0:未签收/1:已签收 */
	@Column(name = "SIGN_STATE")
	private Boolean signState;

	/** 签收时间 */
	@Column(name = "SIGN_DT")
	private Date signDateTime;

	/** 监管状态 0:未知/1:已上报/2:收货确认/3:已监管/4:解除监管/5:已退箱 */
	@Column(name = "SUPERVISION_STATE")
	private SupervisionStateEnum supervisionState;

	/** 赎货状态 0:未标记赎货/1:已标记赎货 */
	@Column(name = "REDEEM_STATE")
	private Boolean redeemState;

	/** 是否扣货 0:已扣货/1:正常 */
	@Column(name = "DETAINED_STATE")
	private Boolean detainedState;

	/** 处置状态 0:未知/1:待处置/2:已处置 */
	@Column(name = "BADASSETS_STATE")
	private BadassetsStateEnum badassetsState;

	/** 计息日期 */
	@Column(name = "VALUE_DATE")
	private Date valueDate;

	/** 已结日期 */
	@Column(name = "SETTLEMENT_DATE")
	private Date settlementDate;

	/** 可提日期 */
	@Column(name = "PICKUPABLE_DATE")
	private Date pickupableDate;

	/** 罚息日期 */
	@Column(name = "PUNISH_DATE")
	private Date punishDate;

	/** 扣货日期 */
	@Column(name = "DISTRAIN_DATE")
	private Date distrainDate;

	/** 处置日期 */
	@Column(name = "HANDLE_DATE")
	private Date handleDate;

	/** 是否有效 0-无效;1-有效 */
	@Column(name = "ENABLED")
	private Boolean enabled;

	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	/** 更新时间 */
	@Column(name = "UPDATE_DT")
	private Date updateDateTime;

	/** 货值总计调整 */
	@Column(name = "ADJUSTMENT")
	private BigDecimal adjustment;
	
	/** 确认收货时间 */
	@Column(name = "RECEIVE_CONFIRM_DT")
	private Date receiveConfirmCreateTime;
	
	/** 确认监管 */
	@Column(name = "SUPERVISE_TALLYING_DT")
	private Date superviseTallyingCreateTime;

	/** 监管解除预警创建时间 */
	@Column(name = "SUPERVISION_RELIEVE_CREATE_DT")
	private Date supervisionRelieveCreateTime;
	
	/** 类型 默认空-货箱信息, 1-舱单质押  2-运费保理运单信息 3-运费保理发票信息*/
	@Column(name = "TYPE")
	private Integer type;
	
	/** 门点地址 */
	@Column(name = "DOORS_ADRESS")
	private String doorsAdress;
	
	/** 结算价 */
	@Column(name = "SETTLEMENT_PRICE")
	private BigDecimal settlementPrice;
	
	/** 结算对象 */
	@Column(name = "SETTLEMENT_OBJECT")
	private String settlementObject;
	
	/** 备注 */
	@Column(name = "REMARK")
	private String remark;

	/** 确认时间 */
	@Column(name = "CONFIRM_DATE")
	private Date confrimDate;
	
	/** 磅单 */
	@Column(name = "POUNDS_OF_SIGN")
	private String poundsOfSign;
	
	/** 仓单ID-仓储质押才有 */
	@Column(name = "RECEIPT_ID")
	private String receiptId;
	
	/** 发票ID-运费保理 */
	@Column(name = "FREIGHT_ID")
	private Long freightId;
	
	/** 应收账款金额-运费保理 */
	@Column(name = "RECEIVABLE_AMOUNT")
	private BigDecimal receivableAmount;
	
	/** 保理款-运费保理 */
	@Column(name = "FACTORING_AMOUNT")
	private BigDecimal factoringAmount;
	
	/** 对应买方-运费保理 */
	@Column(name = "PURCHASER")
	private String purchaser;
	
	/** 发票票号-运费保理 */
	@Column(name = "INVOICE_NUMBER")
	private String invoiceNumber;

	/** 发票金额-运费保理 */
	@Column(name = "INVOICE_AMOUNT")
	private BigDecimal invoiceAmount;
	
	/** 发票日期-运费保理 */
	@Column(name = "INVOICE_DATE")
	private Date invoiceDate;
	
	/** 预计到期日-运费保理 */
	@Column(name = "DUE_DATE")
	private Date dueDate;
	
	/** 其他-保理业务 */
	@Column(name = "OTHERS_REMARK")
	private String othersRemark;
	
	/** 仓库名 */
	@Column(name="WAREHOUSE_NAME")
	private String warehouseName;
	
	/** 仓库ID */
	@Column(name="WAREHOUSE_ID")
	private String warehouseId;
	
	/** 物流公司ID */
	@Column(name="LOGISTICS_COMPANY_ID")
	private Long logisticsCompanyInfoId; 
	
	/** 库位 */
	@Column(name="LOCATION_NAME")
	private String locationName;
	
	/** 库区 */
	@Column(name="LOCATION_AREA")
	private String locationArea;
	
	/** 库位ID */
	@Column(name="LOCATION_ID")
	private String locationId;
	
	/** 已提数量 */
	@Column(name="PICKUP_QUANTITY")
	private BigDecimal pickupQuantity;
	
	public String getLocationId() {
		return locationId;
	}

	public void setLocationId(String locationId) {
		this.locationId = locationId;
	}

	public BigDecimal getPickupQuantity() {
		if (null == pickupQuantity) {
			return BigDecimal.ZERO;
		}
		return pickupQuantity;
	}

	public void setPickupQuantity(BigDecimal pickupQuantity) {
		this.pickupQuantity = pickupQuantity;
	}

	public String getLocationName() {
		return locationName;
	}

	public void setLocationName(String locationName) {
		this.locationName = locationName;
	}

	public String getLocationArea() {
		return locationArea;
	}

	public void setLocationArea(String locationArea) {
		this.locationArea = locationArea;
	}

	public Long getLogisticsCompanyInfoId() {
		if (logisticsCompanyInfoId == null) {
			return 0L;
		}
		return logisticsCompanyInfoId;
	}

	public void setLogisticsCompanyInfoId(Long logisticsCompanyInfoId) {
		this.logisticsCompanyInfoId = logisticsCompanyInfoId;
	}

	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	public Long getFreightId() {
		return freightId;
	}

	public void setFreightId(Long freightId) {
		this.freightId = freightId;
	}

	public BigDecimal getReceivableAmount() {
		return receivableAmount;
	}

	public void setReceivableAmount(BigDecimal receivableAmount) {
		this.receivableAmount = receivableAmount;
	}

	public BigDecimal getFactoringAmount() {
		return factoringAmount;
	}

	public void setFactoringAmount(BigDecimal factoringAmount) {
		this.factoringAmount = factoringAmount;
	}

	public String getPurchaser() {
		return purchaser;
	}

	public void setPurchaser(String purchaser) {
		this.purchaser = purchaser;
	}

	public String getInvoiceNumber() {
		return invoiceNumber;
	}

	public void setInvoiceNumber(String invoiceNumber) {
		this.invoiceNumber = invoiceNumber;
	}

	public BigDecimal getInvoiceAmount() {
		return invoiceAmount;
	}

	public void setInvoiceAmount(BigDecimal invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}

	public Date getInvoiceDate() {
		return invoiceDate;
	}

	public void setInvoiceDate(Date invoiceDate) {
		this.invoiceDate = invoiceDate;
	}

	public Date getDueDate() {
		return dueDate;
	}

	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}

	public String getOthersRemark() {
		return othersRemark;
	}

	public void setOthersRemark(String othersRemark) {
		this.othersRemark = othersRemark;
	}

	private transient ContainerInventorySignEntity containerInventorySign;

	private transient ContainerInventoryTallyEntity containerInventoryTally;

	private transient List<ContainerBulkstockEntity> containerBulkstocks;

	private transient int dateInterval;

	private transient BigDecimal bulkstockValuation = BigDecimal.ZERO;

	public String getPoundsOfSign() {
		return poundsOfSign;
	}

	public void setPoundsOfSign(String poundsOfSign) {
		this.poundsOfSign = poundsOfSign;
	}

	public String getReceiptId() {
		return receiptId;
	}

	public void setReceiptId(String receiptId) {
		this.receiptId = receiptId;
	}

	public String getDoorsAdress() {
		return doorsAdress;
	}

	public void setDoorsAdress(String doorsAdress) {
		this.doorsAdress = doorsAdress;
	}

	public BigDecimal getSettlementPrice() {
		return settlementPrice;
	}

	public void setSettlementPrice(BigDecimal settlementPrice) {
		this.settlementPrice = settlementPrice;
	}

	public String getSettlementObject() {
		return settlementObject;
	}

	public void setSettlementObject(String settlementObject) {
		this.settlementObject = settlementObject;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getConfrimDate() {
		return confrimDate;
	}

	public void setConfrimDate(Date confrimDate) {
		this.confrimDate = confrimDate;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getSupervisionRelieveCreateTime() {
		return supervisionRelieveCreateTime;
	}

	public void setSupervisionRelieveCreateTime(Date supervisionRelieveCreateTime) {
		this.supervisionRelieveCreateTime = supervisionRelieveCreateTime;
	}
	
	public Date getReceiveConfirmCreateTime() {
		return receiveConfirmCreateTime;
	}

	public void setReceiveConfirmCreateTime(Date receiveConfirmCreateTime) {
		this.receiveConfirmCreateTime = receiveConfirmCreateTime;
	}

	public Date getSuperviseTallyingCreateTime() {
		return superviseTallyingCreateTime;
	}

	public void setSuperviseTallyingCreateTime(Date superviseTallyingCreateTime) {
		this.superviseTallyingCreateTime = superviseTallyingCreateTime;
	}
	
	public String getHarbor() {
		return harbor;
	}

	public void setHarbor(String harbor) {
		this.harbor = harbor;
	}

	public String getFileUuid() {
		return fileUuid;
	}

	public void setFileUuid(String fileUuid) {
		this.fileUuid = fileUuid;
	}

	public BigDecimal getAdjustment() {
		return adjustment;
	}

	public void setAdjustment(BigDecimal adjustment) {
		this.adjustment = adjustment;
	}

	public Long getInventoryId() {
		return inventoryId;
	}

	public void setInventoryId(Long inventoryId) {
		this.inventoryId = inventoryId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public Long getTallyingId() {
		return tallyingId;
	}

	public void setTallyingId(Long tallyingId) {
		this.tallyingId = tallyingId;
	}

	public Long getTallyingCompanyId() {
		return tallyingCompanyId;
	}

	public void setTallyingCompanyId(Long tallyingCompanyId) {
		this.tallyingCompanyId = tallyingCompanyId;
	}

	public Long getTransportNoticeId() {
		return transportNoticeId;
	}

	public void setTransportNoticeId(Long transportNoticeId) {
		this.transportNoticeId = transportNoticeId;
	}

	public Long getTransportCompanyId() {
		return transportCompanyId;
	}

	public void setTransportCompanyId(Long transportCompanyId) {
		this.transportCompanyId = transportCompanyId;
	}

	public Long getDeliveryId() {
		return deliveryId;
	}

	public void setDeliveryId(Long deliveryId) {
		this.deliveryId = deliveryId;
	}

	public Long getPickupId() {
		return pickupId;
	}

	public void setPickupId(Long pickupId) {
		this.pickupId = pickupId;
	}

	public Long getDeliveryNoticeId() {
		return deliveryNoticeId;
	}

	public void setDeliveryNoticeId(Long deliveryNoticeId) {
		this.deliveryNoticeId = deliveryNoticeId;
	}

	public Long getDeliveryCompanyId() {
		return deliveryCompanyId;
	}

	public void setDeliveryCompanyId(Long deliveryCompanyId) {
		this.deliveryCompanyId = deliveryCompanyId;
	}

	public Long getLoanNoticeId() {
		return loanNoticeId;
	}

	public void setLoanNoticeId(Long loanNoticeId) {
		this.loanNoticeId = loanNoticeId;
	}

	public Long getConfirmationId() {
		return confirmationId;
	}

	public void setConfirmationId(Long confirmationId) {
		this.confirmationId = confirmationId;
	}

	public String getWaybillNumber() {
		return waybillNumber;
	}

	public void setWaybillNumber(String waybillNumber) {
		this.waybillNumber = waybillNumber;
	}

	public String getCaseNumber() {
		return caseNumber;
	}

	public void setCaseNumber(String caseNumber) {
		this.caseNumber = caseNumber;
	}

	public String getCaseSize() {
		return caseSize;
	}

	public void setCaseSize(String caseSize) {
		this.caseSize = caseSize;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getDimension() {
		return dimension;
	}

	public void setDimension(String dimension) {
		this.dimension = dimension;
	}

	public String getFacingSlip() {
		return facingSlip;
	}

	public void setFacingSlip(String facingSlip) {
		this.facingSlip = facingSlip;
	}

	public String getFacingSlipNext() {
		return facingSlipNext;
	}

	public void setFacingSlipNext(String facingSlipNext) {
		this.facingSlipNext = facingSlipNext;
	}

	public Boolean getAbnormal() {
		if (null == abnormal) {
			return Boolean.TRUE;
		}
		return abnormal;
	}

	public void setAbnormal(Boolean abnormal) {
		this.abnormal = abnormal;
	}

	public AbnormalTypeEnum getAbnormalType() {
		if (null == abnormalType) {
			return AbnormalTypeEnum.UNKNOWN;
		}
		return abnormalType;
	}

	public void setAbnormalType(AbnormalTypeEnum abnormalType) {
		this.abnormalType = abnormalType;
	}

	public AbnormalStateEnum getAbnormalState() {
		if (abnormalState == null) {
			return AbnormalStateEnum.UNKNOWN;
		}
		return abnormalState;
	}

	public void setAbnormalState(AbnormalStateEnum abnormalState) {
		this.abnormalState = abnormalState;
	}

	public AbnormalResultEnum getLatestAbnormalResult() {
		if (null == latestAbnormalResult) {
			return AbnormalResultEnum.UNKNOWN;
		}
		return latestAbnormalResult;
	}

	public void setLatestAbnormalResult(AbnormalResultEnum latestAbnormalResult) {
		this.latestAbnormalResult = latestAbnormalResult;
	}

	public Boolean getTallyingState() {
		if (null == tallyingState) {
			return Boolean.TRUE;
		}
		return tallyingState;
	}

	public void setTallyingState(Boolean tallyingState) {
		this.tallyingState = tallyingState;
	}

	public Date getTallyDateTime() {
		return tallyDateTime;
	}

	public void setTallyDateTime(Date tallyDateTime) {
		this.tallyDateTime = tallyDateTime;
	}

	public Boolean getHarborState() {
		return harborState;
	}

	public void setHarborState(Boolean harborState) {
		this.harborState = harborState;
	}

	public Date getHarborDateTime() {
		return harborDateTime;
	}

	public void setHarborDateTime(Date harborDateTime) {
		this.harborDateTime = harborDateTime;
	}

	public String getShipsName() {
		return shipsName;
	}

	public void setShipsName(String shipsName) {
		this.shipsName = shipsName;
	}

	public String getVoyageNumber() {
		return voyageNumber;
	}

	public void setVoyageNumber(String voyageNumber) {
		this.voyageNumber = voyageNumber;
	}

	public Boolean getSignState() {
		if (null == signState) {
			return Boolean.FALSE;
		}
		return signState;
	}

	public void setSignState(Boolean signState) {
		this.signState = signState;
	}

	public Date getSignDateTime() {
		return signDateTime;
	}

	public void setSignDateTime(Date signDateTime) {
		this.signDateTime = signDateTime;
	}

	public SupervisionStateEnum getSupervisionState() {
		return supervisionState;
	}

	public void setSupervisionState(SupervisionStateEnum supervisionState) {
		this.supervisionState = supervisionState;
	}

	public Boolean getRedeemState() {
		if (null == redeemState) {
			return Boolean.TRUE;
		}
		return redeemState;
	}

	public void setRedeemState(Boolean redeemState) {
		this.redeemState = redeemState;
	}

	public Boolean getDetainedState() {
		if (null == detainedState) {
			return Boolean.FALSE;
		}
		return detainedState;
	}

	public void setDetainedState(Boolean detainedState) {
		this.detainedState = detainedState;
	}

	public BadassetsStateEnum getBadassetsState() {
		if (null == badassetsState) {
			return BadassetsStateEnum.UNKNOWN;
		}
		return badassetsState;
	}

	public void setBadassetsState(BadassetsStateEnum badassetsState) {
		this.badassetsState = badassetsState;
	}

	public Date getValueDate() {
		return valueDate;
	}

	public void setValueDate(Date valueDate) {
		this.valueDate = valueDate;
	}

	public Date getPickupableDate() {
		return pickupableDate;
	}

	public void setPickupableDate(Date pickupableDate) {
		this.pickupableDate = pickupableDate;
	}

	public Date getPunishDate() {
		return punishDate;
	}

	public void setPunishDate(Date punishDate) {
		this.punishDate = punishDate;
	}

	public Date getDistrainDate() {
		return distrainDate;
	}

	public void setDistrainDate(Date distrainDate) {
		this.distrainDate = distrainDate;
	}

	public Date getHandleDate() {
		return handleDate;
	}

	public void setHandleDate(Date handleDate) {
		this.handleDate = handleDate;
	}

	public Long getRecieveNoticeId() {
		return recieveNoticeId;
	}

	public void setRecieveNoticeId(Long recieveNoticeId) {
		this.recieveNoticeId = recieveNoticeId;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public Date getUpdateDateTime() {
		return updateDateTime;
	}

	public void setUpdateDateTime(Date updateDateTime) {
		this.updateDateTime = updateDateTime;
	}

	public PickupModelEnum getPickupModel() {
		return pickupModel;
	}

	public void setPickupModel(PickupModelEnum pickupModel) {
		this.pickupModel = pickupModel;
	}

	// ========================================================================================================================================================================//
	public boolean validateAbnormal() {
		if (abnormal == null) {
			return Boolean.FALSE;
		}
		return !this.abnormal.booleanValue();
	}

	public List<ContainerBulkstockEntity> getContainerBulkstocks() {
		return containerBulkstocks;
	}

	public void setContainerBulkstocks(List<ContainerBulkstockEntity> containerBulkstocks) {
		this.containerBulkstocks = containerBulkstocks;
	}

	public ContainerInventorySignEntity getContainerInventorySign() {
		return containerInventorySign;
	}

	public void setContainerInventorySign(ContainerInventorySignEntity containerInventorySign) {
		this.containerInventorySign = containerInventorySign;
	}

	public ContainerInventoryTallyEntity getContainerInventoryTally() {
		return containerInventoryTally;
	}

	public void setContainerInventoryTally(ContainerInventoryTallyEntity containerInventoryTally) {
		this.containerInventoryTally = containerInventoryTally;
	}

	public int getDateInterval() {
		return dateInterval;
	}

	public void setDateInterval(int dateInterval) {
		this.dateInterval = dateInterval;
	}

	public BigDecimal getBulkstockValuation() {
		return bulkstockValuation;
	}

	public void setBulkstockValuation(BigDecimal bulkstockValuation) {
		this.bulkstockValuation = bulkstockValuation;
	}

	public BulkstockSourceEnum getContainerSource() {
		return containerSource;
	}

	public void setContainerSource(BulkstockSourceEnum containerSource) {
		this.containerSource = containerSource;
	}

	public Long getReplenishCreditId() {
		return replenishCreditId;
	}

	public void setReplenishCreditId(Long replenishCreditId) {
		this.replenishCreditId = replenishCreditId;
	}

	public Long getExchangePickupId() {
		return exchangePickupId;
	}

	public void setExchangePickupId(Long exchangePickupId) {
		this.exchangePickupId = exchangePickupId;
	}

	public Date getSettlementDate() {
		return settlementDate;
	}

	public void setSettlementDate(Date settlementDate) {
		this.settlementDate = settlementDate;
	}

	public String getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(String warehouseId) {
		this.warehouseId = warehouseId;
	}

	@Override
	public ContainerInventoryEntity clone() {
		ContainerInventoryEntity o = null;
		try {
			o = (ContainerInventoryEntity) super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return o;
	}
}
